package com.itheima.dao;

import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Gallant
 * @create 2020-07-02 18:28
 */
public interface SetmealDao {
    // 添加元素
    public void add(Setmeal setmeal);
    // 设置关联表
    public void setSetmealAndCheckGroup(Map map);

    public List<Setmeal> findByCondition(String queryString);

    public List<Setmeal> findAll();

    public Setmeal findById(int id);

    public List<Map<String,Object>> findSetmealCount();
}
